#ifndef BIT_UTIL_H
#define BIT_UTIL_H

#include "stdint.h"

uint16_t set_bit_16(uint16_t chomp, unsigned int bitnum);
uint16_t clear_bit_16(uint16_t chomp, unsigned int bitnum);

uint16_t set_bit_value_16(uint16_t chomp, unsigned int bitnum, unsigned int value);
unsigned int get_bit_value_16(uint16_t chomp, unsigned int bitnum);

#endif
